home *** CD-ROM | disk | FTP | other *** search
/ Champak 103 / Vol 103.iso / games / urban_sw.swf / scripts / frame_14 / PlaceObject2_165_35 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Text File  |  2010-03-13  |  1KB  |  56 lines

  1. onClipEvent(enterFrame){
  2.    var ┬º\x01┬º = 516;
  3.    if(eval("\x01") == 516)
  4.    {
  5.       set("\x01",eval("\x01") - 279);
  6.       ┬º┬ºpush(true);
  7.       ┬º┬ºpush(false);
  8.       ┬º┬ºpush(false);
  9.       ┬º┬ºpush(true);
  10.       while(true)
  11.       {
  12.          if(┬º┬ºpop())
  13.          {
  14.          }
  15.          if(┬º┬ºpop())
  16.          {
  17.          }
  18.          if(┬º┬ºpop())
  19.          {
  20.             break;
  21.          }
  22.          ┬º┬ºpush(true);
  23.          ┬º┬ºpush(false);
  24.       }
  25.       if(!eval("\x01")["\x02"])
  26.       {
  27.          ┬º\x03┬º--;
  28.          if(eval("\x03") <= 5 * eval("\x04"))
  29.          {
  30.             play();
  31.          }
  32.          else
  33.          {
  34.             gotoAndStop(1);
  35.          }
  36.          if(eval("\x03") <= 0)
  37.          {
  38.             trace(┬º┬ºconstant(4) + eval("\x01")[┬º┬ºconstant(5)]);
  39.             if(eval("\x01")[┬º┬ºconstant(6)] < eval("\x01")[┬º┬ºconstant(7)])
  40.             {
  41.                eval("\x01")[┬º┬ºconstant(5)][┬º┬ºconstant(8)]();
  42.             }
  43.             else
  44.             {
  45.                eval("\x01")[┬º┬ºconstant(9)][┬º┬ºconstant(8)]();
  46.             }
  47.          }
  48.          eval(┬º┬ºconstant(10))[┬º┬ºconstant(11)][┬º┬ºconstant(12)] = ┬º┬ºconstant(13) + int(eval("\x03") / eval("\x04"));
  49.       }
  50.    }
  51.    else if(eval("\x01") == 237)
  52.    {
  53.       set("\x01",eval("\x01") - 8);
  54.    }
  55. }
  56.